{if $oRecommendedCoupons|count > 0}
<div class="coupon_recommend_list">
	<div class="titleBox">
		<div class="title navTitleFont">
			{if $isSearch == 'yes'}
				<div class="tab_none">"{$keyword}" Recommended Coupons</div>
			{else if $isTag == 'yes'}
				<div class="tab_none">"{$oTag->getName()}" Recommended Coupons</div>
			{else}
				<div class="tab_default">Recommended Coupons</div>
			{/if}
		</div>
		<div class="featured_title_ad">
			<script type="text/javascript"><!--
				google_ad_client = "ca-pub-3974852460908538";
				/* recommended coupon list title */
				google_ad_slot = "3928302746";
				google_ad_width = 468;
				google_ad_height = 60;
				//-->
				</script>
				<script type="text/javascript"
				src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
			</script>
		</div>
	</div>
	
	<div class="lists">
		<ul class="item-list" id="recommended_list"><!-- google_ad_section_start -->
	    	{foreach item=oCoupon from=$oRecommendedCoupons name=plist}
				{if $oCoupon->getTrackingURL() != ''}
					{assign var="URL" value="{$oCoupon->getTrackingURL()}"}
				{else}
					{assign var="URL" value="{$oCoupon->getMerchant()->getDisplayURL()}"}
				{/if}
	
	        	<li>
	        		<div class="thumbnailBox">
						<div class="thumbnail">
		                	{if $oCoupon->getCreativeType() == 1}
		                    	<a title="{$oCoupon->getName()}" id="thumb_{$oCoupon->getId()}" href="{$oCoupon->getCouponImage()->getImpressionTrackingUrl()}" class="highslide" onclick="return hs.expand(this)" rel="nofollow" target="_blank">
				                	<img src="{$HOME_URL}/images/url/140/80/{$oCoupon->getCouponImage()->getImpressionTrackingUrl()|base64_encode}"  
							            	border="0" width="140" height="80" 
							            	alt="{$oCoupon->getName()} - Hoho coupons"
							            	title="{$oCoupon->getName()}"
							         />
							    </a>
					         {else if $oCoupon->getCreativeType() == 2}
					         	<a title="{$oCoupon->getName()}" href="{$HOME_URL}/coupons/{$oCoupon->getId()}" rel="nofollow" target="_blank">
						         	<img src="{$HOME_URL}/images/logo/140/80/{$oCoupon->getMerchant()->getLogo()->getId()}/{$oCoupon->getMerchant()->getNameId()}-120x30-logo-HoHoBB.{$oCoupon->getMerchant()->getLogo()->getExtName()}"  
							            border="0" width="140" height="80"   
							            alt="{$oCoupon->getName()} - Hoho coupons"
							            title="{$oCoupon->getName()}"
							         />
						         </a>
					         {/if}
		                </div>
	                </div>
	                
	                <div class="item-info">
	                	{if $oCoupon->getCode() != ''}
							<div class="couponCode">
								<span class="code">{$oCoupon->getCode()}</span>
							</div>
							<div class="item-title font13">
								<h3><a title="{$oCoupon->getName()}" href="{$HOME_URL}/coupons/{$oCoupon->getId()}" target="_blank">{$oCoupon->getName()|truncate:240:"..."}<img src="{$HOME_URL}/images/button/trim.png" width="1" height="1" /></a></h3>
	                    	</div>
						{else}
							<div class="item-title font13">
								<h3><a title="{$oCoupon->getName()}" href="{$HOME_URL}/coupons/{$oCoupon->getId()}" target="_blank">{$oCoupon->getName()|truncate:240:"..."}<img src="{$HOME_URL}/images/button/trim.png" width="1" height="1" /></a></h3>
		                    </div>
	                    {/if}
	                    
	                    {if $oCoupon->getDescript() != ''}
	                    <div class="itemInterval  font12 item-description">
	                    	{$oCoupon->getDescript()}
	                    </div>
	                    {/if}
	                    
	                   {if $oCoupon->getValidDateTypeStr() != ''}
	                    <div class="itemInterval greenLinkColor font11">
	                   		{$oCoupon->getValidDateTypeStr()}                   		
	                    </div>
	                    {/if}
	                    
	                    {if $isCategory != 'yes'}
		                    {if $oCoupon->getCategory()->getName() != ''}
								<DIV class="category itemInterval font11">
									Category: <a href="javascript:void(0);" onclick="requestPage('/categories/{$oCoupon->getCategory()->getFilteredName()}-discount-coupons', {$oCoupon->getCategory()->getId()}, 1);">{$oCoupon->getCategory()->getName()}</a>
								</DIV>
							{/if}
						{/if}
						
	                    <div class="more itemInterval font12">More 
	                    	<a href="{$HOME_URL}/{$oCoupon->getMerchant()->getNameId()}-discount-coupons" target="_blank">{$oCoupon->getMerchant()->getName()} discount coupons</a>
	                    	{if $oCoupon->getImpressionpixel() != ''}
								<img width="1" height="1" src="{$oCoupon->getImpressionpixel()}">
							{/if}
	                    </div>                    
	                   
					</div>
	                  
				</li>
	       {/foreach}
	       <!-- google_ad_section_end -->
		</ul>
		
	</div>
	{if $isCategory == 'yes'}
		<div id="more_recommended_id" class="more_recommended" onclick="getMoreRecommended('{$HOME_URL}', 'yes', {$id});">More Recommended</div>
	{else}
		<div id="more_recommended_id" class="more_recommended" onclick="getMoreRecommended('{$HOME_URL}', 'no', 0);">More Recommended</div>
	{/if}
	<div class="empty"></div>
	<div class="clear"></div>
</div>
{/if}
